package com.zcxk.dto;

import lombok.Getter;

/**
 * @author wangping
 * @date 2023-07-25 20:48
 */
@Getter
public class UserDTO {

	private Long uid;

	private String username;

	private String email;

	private String phone;

	private String token;

  public UserDTO setUid(Long uid) {
		this.uid = uid;
		return this;
	}

  public UserDTO setUsername(String username) {
		this.username = username;
		return this;
	}

  public UserDTO setEmail(String email) {
		this.email = email;
		return this;
	}

  public UserDTO setPhone(String phone) {
		this.phone = phone;
		return this;
	}

  public UserDTO setToken(String token) {
		this.token = token;
		return this;
	}

	@Override
	public String toString() {
		return "UserDTO{" +
				"uid=" + uid +
				", username='" + username + '\'' +
				", email='" + email + '\'' +
				", phone='" + phone + '\'' +
				", token='" + token + '\'' +
				'}';
	}
}
